/*
 * create by Littleken at 2019/3/26 15:24
 */
package com.littleken.product.service.impl;

import com.littleken.product.dao.ProductCategoryMapper;
import com.littleken.product.model.ProductCategory;
import com.littleken.product.service.CategoryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class CategoryServiceImpl implements CategoryService {

    @Autowired
    private ProductCategoryMapper mapper;

    @Override
    public List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList) {
        return mapper.findByCategoryTypeIn(categoryTypeList);
    }
}
